﻿using UnityEngine;using System.Collections;using TNet;using UnityEngine.UI;public class Fps: MonoBehaviour {	private Text _MsgTxtLabel;		void Start () 	{		GameObject o = GameObject.FindGameObjectWithTag("UI_Fps_Text");		if(o)		{			_MsgTxtLabel = o.GetComponent<Text>();		}	}		[RFC] 	void OnShowMsgText(string txt)	{		_MsgTxtLabel.text = txt;		_MsgTxtLabel.gameObject.SetActive(true);				Invoke("AutoHide", 2.0f);	}		void AutoHide()	{		_MsgTxtLabel.gameObject.SetActive(false);	}}